﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FDF RID: 4063
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournBattleFailSettleInfoScNotify : IMessage<RogueTournBattleFailSettleInfoScNotify>, IMessage, IEquatable<RogueTournBattleFailSettleInfoScNotify>, IDeepCloneable<RogueTournBattleFailSettleInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003360 RID: 13152
		// (get) Token: 0x0600B5A7 RID: 46503 RVA: 0x001EA217 File Offset: 0x001E8417
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournBattleFailSettleInfoScNotify> Parser
		{
			get
			{
				return RogueTournBattleFailSettleInfoScNotify._parser;
			}
		}

		// Token: 0x17003361 RID: 13153
		// (get) Token: 0x0600B5A8 RID: 46504 RVA: 0x001EA21E File Offset: 0x001E841E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournBattleFailSettleInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003362 RID: 13154
		// (get) Token: 0x0600B5A9 RID: 46505 RVA: 0x001EA230 File Offset: 0x001E8430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournBattleFailSettleInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600B5AA RID: 46506 RVA: 0x001EA237 File Offset: 0x001E8437
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournBattleFailSettleInfoScNotify()
		{
		}

		// Token: 0x0600B5AB RID: 46507 RVA: 0x001EA240 File Offset: 0x001E8440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournBattleFailSettleInfoScNotify(RogueTournBattleFailSettleInfoScNotify other) : this()
		{
			this.tournFinishInfo_ = ((other.tournFinishInfo_ != null) ? other.tournFinishInfo_.Clone() : null);
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B5AC RID: 46508 RVA: 0x001EA29C File Offset: 0x001E849C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournBattleFailSettleInfoScNotify Clone()
		{
			return new RogueTournBattleFailSettleInfoScNotify(this);
		}

		// Token: 0x17003363 RID: 13155
		// (get) Token: 0x0600B5AD RID: 46509 RVA: 0x001EA2A4 File Offset: 0x001E84A4
		// (set) Token: 0x0600B5AE RID: 46510 RVA: 0x001EA2AC File Offset: 0x001E84AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFinishInfo TournFinishInfo
		{
			get
			{
				return this.tournFinishInfo_;
			}
			set
			{
				this.tournFinishInfo_ = value;
			}
		}

		// Token: 0x17003364 RID: 13156
		// (get) Token: 0x0600B5AF RID: 46511 RVA: 0x001EA2B5 File Offset: 0x001E84B5
		// (set) Token: 0x0600B5B0 RID: 46512 RVA: 0x001EA2BD File Offset: 0x001E84BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600B5B1 RID: 46513 RVA: 0x001EA2C6 File Offset: 0x001E84C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournBattleFailSettleInfoScNotify);
		}

		// Token: 0x0600B5B2 RID: 46514 RVA: 0x001EA2D4 File Offset: 0x001E84D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournBattleFailSettleInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.TournFinishInfo, other.TournFinishInfo) && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B5B3 RID: 46515 RVA: 0x001EA328 File Offset: 0x001E8528
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tournFinishInfo_ != null)
			{
				num ^= this.TournFinishInfo.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B5B4 RID: 46516 RVA: 0x001EA37A File Offset: 0x001E857A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B5B5 RID: 46517 RVA: 0x001EA382 File Offset: 0x001E8582
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B5B6 RID: 46518 RVA: 0x001EA38C File Offset: 0x001E858C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tournFinishInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.TournFinishInfo);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B5B7 RID: 46519 RVA: 0x001EA3E8 File Offset: 0x001E85E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tournFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFinishInfo);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B5B8 RID: 46520 RVA: 0x001EA440 File Offset: 0x001E8640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournBattleFailSettleInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tournFinishInfo_ != null)
			{
				if (this.tournFinishInfo_ == null)
				{
					this.TournFinishInfo = new RogueTournFinishInfo();
				}
				this.TournFinishInfo.MergeFrom(other.TournFinishInfo);
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B5B9 RID: 46521 RVA: 0x001EA4C0 File Offset: 0x001E86C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B5BA RID: 46522 RVA: 0x001EA4CC File Offset: 0x001E86CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 34U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueTournCurSceneInfo_ == null)
						{
							this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
						}
						input.ReadMessage(this.RogueTournCurSceneInfo);
					}
				}
				else
				{
					if (this.tournFinishInfo_ == null)
					{
						this.TournFinishInfo = new RogueTournFinishInfo();
					}
					input.ReadMessage(this.TournFinishInfo);
				}
			}
		}

		// Token: 0x04004970 RID: 18800
		private static readonly MessageParser<RogueTournBattleFailSettleInfoScNotify> _parser = new MessageParser<RogueTournBattleFailSettleInfoScNotify>(() => new RogueTournBattleFailSettleInfoScNotify());

		// Token: 0x04004971 RID: 18801
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004972 RID: 18802
		public const int TournFinishInfoFieldNumber = 1;

		// Token: 0x04004973 RID: 18803
		private RogueTournFinishInfo tournFinishInfo_;

		// Token: 0x04004974 RID: 18804
		public const int RogueTournCurSceneInfoFieldNumber = 4;

		// Token: 0x04004975 RID: 18805
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
